import { findFund } from '../../http/orders.js'
export default ({
	namespaced:true,
	state:{
		fundLists:[]
	},
	mutations:{
		findFundId(state,data){
			state.fundLists=data;
		}
	},
	actions:{
	async findFundbyId(context,data){
			const result=await findFund(data);
			console.log(result);
			if(result.code){
				context.commit("findFundId",result.data);
				console.log(result.data)
			}
			
		}
	}
})